package org.jsbd.boss.dao.impl;


import org.jsbd.boss.dao.IWebLogCreateTableDao;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

@Repository("webLogCreateTableDao")
public class WebLogCreateTableDaoImpl extends WebmengLogBaseDao implements IWebLogCreateTableDao {
	public static final Logger LOGGER = LoggerFactory.getLogger(WebLogCreateTableDaoImpl.class);

	@Override
	public String getTableByName(String tableName) {
		return (String)super.queryForObject("log_statistics_action.get_table_by_name",tableName);
	}

	@Override
	public void createTable(String sql) {
		super.update("log_statistics_action.create_table_sql", sql);
		
	}
}
